package com.csun.cmny.provider.service;

import com.csun.cmny.core.support.IService;
import com.csun.cmny.provider.dto.OmcSignInQueryDto;
import com.csun.cmny.provider.model.domain.OmcSignIn;
import com.csun.cmny.provider.vo.OmcSignInVo;
import com.github.pagehelper.PageInfo;

import java.util.List;

/**
 * @author Lijun
 * @description:
 * @date 2019/11/27 13:52
 */
public interface OmcSignInService extends IService<OmcSignIn> {
    /**
     * 分页查询打卡记录
     * @param signInDto
     * @return
     */
    PageInfo querySignInWithPage (OmcSignInQueryDto signInDto);

    /**
     * 查询该设备七天内的打卡记录
     * @param deviceId
     * @return
     */
    List<OmcSignInVo> querySignIn(Long deviceId);
}
